package Object类.equals方法.test01;

public class Test01 {


    public static void main(String[] args) {
        int a = 100;
        int b = 100;
        System.out.println(a == b);
        MyTime t1 = new MyTime(2008,8,8);
        MyTime t2 = new MyTime(2008,8,8);
        MyTime t3 = new MyTime(2008,8,9);

        System.out.println(t1.equals(t3));
        System.out.println(t1.toString());

    }
}
